/*
 * Lenovo Group
 * Copyright (c) 2015-2016 All Rights Reserved.
 * 
 * Project Name:itsm-gateway
 * Create Time: 2016年1月30日 下午2:20:52
 */
package com.lenovo.lmrp.server.itsmgateway.mock;

import java.util.List;

import javax.ws.rs.Consumes;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Response;

import com.lenovo.lmrp.api.itsmgateway.IItsmEngineer;
import com.lenovo.lmrp.api.model.RestResponse;
import com.lenovo.lmrp.api.model.view.EngineerVO;
import com.lenovo.lmrp.api.model.view.LoginData;
import com.lenovo.sdc.framework.annotation.RestService;

/**
 * 
 * @author wujin
 * @version v1.0
 */
@Path("/itsm/v1")
@RestService
@Consumes("application/json;charset-utf-8")
@Produces("application/json;charset-utf-8")
public class ItsmEngineerImpl implements IItsmEngineer {

    @Override
    public RestResponse<Integer> authenticate(String itsmcode, LoginData loginData) {
        return new RestResponse<Integer>(0, "OK", 0);
    }

    @Override
    public RestResponse<Integer> updateEngineer(String itsmcode, String engineerid, EngineerVO engineerVO) {
        return new RestResponse<Integer>(0, "OK", 0);
    }

    @Override
    public RestResponse<Integer> resetPassword(String itsmcode, String loginName) {
        return new RestResponse<Integer>(0, "OK", 0);
    }

    @Override
    public Response getEngineer(String itsmCode, String engineerID) {
        return null;
    }

    @Override
    public RestResponse<List<EngineerVO>> listEngineer(String itsmCode, String condition, int page, int limit,
                                                       String sorts) {
        return null;
    }
}
